package org.hansk.wg.core.events
{
	import flash.events.Event;
	
	import org.robotlegs.base.ContextEvent;
	import org.robotlegs.mvcs.Context;
	
	/**
	 * @file REvent.as
	 * @explain 
	 * @copyright it.hansk.org
	 * @author <a href="mailto:hans#hansk.org">Hans</a>
	 * @date 2013-8-7
	 */
	public class REvent extends ContextEvent
	{
		/**模块上下文*/
		public var context:Context;
		/**模块启动*/
		public static const MODULE_START:String = "revent.module_start";
		/**模块启动完成*/
		public static const MODULE_STARTED:String = "revent.module_start_ed";
		
		public function REvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
		}
		override public function clone():Event
		{
			var event:REvent = new REvent(type,bubbles,cancelable);
			event.context = this.context;
			return event;
		}
	}
}